home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q99 / 7 / 68.TXT < prev    next >
Text File  |  1993-09-29  |  4KB  |  89 lines

  1. DOCUMENT:Q99768  28-SEP-1993  [W_NT]
  2. TITLE   :Optimizing Your Paging File (PAGEFILE.SYS)
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12. ------------------------------------------------------------------
  13.  
  14. Windows NT uses a paging file for virtual memory called PAGEFILE.SYS.
  15. This file is created during Windows NT Setup and is always located in
  16. the root directory. No matter what your system configuration is,
  17. Windows NT will create and use a paging file.
  18.  
  19. The paging file is not necessarily a single file; it can be a group of
  20. files stored in various locations, across hard disks and partitions.
  21. The files are collectively referred to as "the paging file." When
  22. thinking about the size of the paging file, the sum of all the files
  23. that make up the paging file is the only value you need to keep in
  24. mind.
  25.  
  26. The following two guidelines should be met when optimizing the paging
  27. file:
  28.  
  29. 1. In general, you should set the size of the paging file to the same
  30.    size as your system RAM plus 12 MB. There is a minimum size
  31.    requirement of 22 MB for the operating system. If system RAM plus
  32.    12 MB is less than 22 MB, increase the size of the paging file
  33.    until your system RAM plus paging file is at least 22 MB.
  34.    NOTE: 22 MB is just what the operating system requires for itself.
  35.    For reasonable application performance, a 40 MB total is
  36.    recommended.
  37.  
  38.    These sizes are recommended because Windows NT requires "backing
  39.    storage" for everything it keeps in RAM. If Windows NT requires
  40.    more space in RAM, it must be able to swap out code and data to
  41.    either the paging file or the original executable file. If Windows
  42.    NT cannot do this, out of memory errors will be generated.
  43.  
  44.    If you set your paging file to system RAM plus 12 MB and you still
  45.    get low memory warnings, try increasing the size of the paging
  46.    file. If you need more disk space and you are not getting memory
  47.    warnings or memory-related problems, you can try to decrease the
  48.    size of the paging file.
  49.  
  50.    Also, if you have enough surplus RAM to support the operating
  51.    system and application memory requirements, the need for a large
  52.    paging file is lessened. If you have, for example, 64 MB of RAM,
  53.    you may be able to safely reduce your paging file to a very small
  54.    size.
  55.  
  56. 2. If you have multiple hard disks, splitting up the paging file is a
  57.    good idea, as it will speed up the access time. If you have two
  58.    hard disks, and you split the paging file, both hard disks can be
  59.    accessing information simultaneously, greatly increasing the
  60.    throughput. However, if you have two hard disks, and one hard disk
  61.    is faster than the other, it may be more effective to store the
  62.    paging file on only the faster hard disk. Some experimentation may
  63.    be necessary to arrive at the best configuration for your system.
  64.  
  65.    Note: There is no point in splitting up the paging file between
  66.    multiple partitions as it does not increase the ability of the hard
  67.    disk to access the paging file. This may be a good idea, however,
  68.    if your logical drives aren't large enough for the entire paging
  69.    file.
  70.  
  71. Additional reference words: 3.10
  72. KBCategory:
  73. KBSubCategory: WINNT 
  74.  
  75. =============================================================================
  76.  
  77. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  78. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  79. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  80. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  81. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  82. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  83. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  84. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  85. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  86. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  87. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  88.  
  89. Copyright Microsoft Corporation 1993.